.class public Lcom/instagram/h/b/n;
.super Ljava/lang/Object;
.source "SurveyUtil.java"


# direct methods
.method private static a(Ljava/lang/String;)Ljava/lang/String;
    .locals 2
    .parameter

    .prologue
    .line 20
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "instagram_ad_"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public static a(Lcom/instagram/h/b/b;Lcom/instagram/b/d;)V
    .locals 4
    .parameter
    .parameter

    .prologue
    .line 24
    invoke-static {}, Lcom/instagram/b/a;->a()Lcom/instagram/b/c;

    move-result-object v0

    new-instance v1, Lcom/instagram/b/b;

    const-string v2, "impression"

    invoke-static {v2}, Lcom/instagram/h/b/n;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2, p1}, Lcom/instagram/b/b;-><init>(Ljava/lang/String;Lcom/instagram/b/d;)V

    const-string v2, "tracking_token"

    invoke-virtual {p0}, Lcom/instagram/h/b/b;->d()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lcom/instagram/b/b;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/b/b;

    move-result-object v1

    invoke-interface {v0, v1}, Lcom/instagram/b/c;->b(Lcom/instagram/b/b;)V

    .line 28
    return-void
.end method

.method public static a(Lcom/instagram/h/b/b;Lcom/instagram/h/b/c;Lcom/instagram/b/d;)V
    .locals 4
    .parameter
    .parameter
    .parameter

    .prologue
    .line 32
    invoke-static {}, Lcom/instagram/b/a;->a()Lcom/instagram/b/c;

    move-result-object v0

    new-instance v1, Lcom/instagram/b/b;

    const-string v2, "survey_response"

    invoke-static {v2}, Lcom/instagram/h/b/n;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2, p2}, Lcom/instagram/b/b;-><init>(Ljava/lang/String;Lcom/instagram/b/d;)V

    const-string v2, "selected_survey_answer"

    invoke-virtual {p1}, Lcom/instagram/h/b/c;->a()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lcom/instagram/b/b;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/b/b;

    move-result-object v1

    const-string v2, "tracking_token"

    invoke-virtual {p0}, Lcom/instagram/h/b/b;->d()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lcom/instagram/b/b;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/b/b;

    move-result-object v1

    invoke-interface {v0, v1}, Lcom/instagram/b/c;->b(Lcom/instagram/b/b;)V

    .line 37
    return-void
.end method
